/** for view */
import java.awt.event.ActionListener;

/**
 * This is a interface for SpaceTraderGUI
 * @version 1.0
 * @author CodeTrader
 */
public interface View {

		/**
		 * This is to get player name
		 * @return name
		 */
		String getName();
		
		/**
		 * This is to get skill points
		 * @return player
		 */
		Player getSkills();
		
		/** 
		 * This is to get difficulty
		 * @return difficulty
		 */
		int getDifficulty();
		
		/** 
		 * This is to set register action performed
		 * @param al
		 */
		void registerAccept(ActionListener al);
		
		/**
		 * This is to set setvisible as true
		 */
		void show();
		
		/**
		 * This is to set setvisible as false
		 */
		void hide();
		
		/**
		 * This is to set enable button as action performed
		 * @param flag
		 */
		void enableAccept(boolean flag);
		
		/**
		 * This is get spacetrader Main GUI.
		 * @return MainWindows
		 */
		SpaceTraderMainGUI getMainWindow();
		
		/** 
		 * This is to set spacetrader Main GUI.
		 * @param mainWindow
		 */
		void setMainWindow(SpaceTraderMainGUI mainWindow); 
}